﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WebClient.Models.ViewModels.GroupViewModel>" %>

<div style="clear: both;"></div>
<center> 
    <% if (!Request.Path.Contains("Cuisines") && !Request.Path.Contains("Register")
           && !Request.Path.Contains("Contact") && !Request.Path.Contains("OrdersHistory") && !Request.Path.Contains("SelectOrderDetailByIDOrder"))
       { %> 
        <div id="div8"><br />    
            Steps: 
            <!-- SELECT AREA -->
            <% if (Request.Path.Equals("/") || Request.Path.Contains("SelectDistricts"))
               { %>
                <font style="color: #000000;">
                    <b>1. Select your area</b>
                </font>
            <% }
               else
               { %>
                   1. Select your area
            <% } %>
            &nbsp;&nbsp;&nbsp;&nbsp;

            <!-- SELECT RESTAURANT -->
            <% if (Request.Path.Contains("SelectRestaurants") || Request.Path.Contains("SearchRestaurants"))
               { %>
                <font style="color: #000000;">
                    <b>2. Select a restaurant</b>
                </font>
            <% }
               else
               { %>
                   2. Select a restaurant
            <% } %>
            &nbsp;&nbsp;&nbsp;&nbsp;

            <% if (Request.Path.Contains("Order"))
               { %>
                <font style="color: #000000;">
                    <b>3. Choose your food</b>
                </font>
            <% }
               else
               { %>
                3. Choose your food
            <% } %>
            &nbsp;&nbsp;&nbsp;&nbsp;

            <% if (Request.Path.Contains("Approve") && ViewData["ViewApprove"] != null && ViewData["ViewApprove"].ToString() == "RequestLogin")
               { %>
               <font style="color: #000000;">
                    <b>4. Enter your details</b>
                </font>
            <% }
               else
               { %>
                4. Enter your details
            <% } %>
            
            &nbsp;&nbsp;&nbsp;&nbsp;
            <% if (Request.Path.Contains("Approve") && ViewData["ViewApprove"] != null && ViewData["ViewApprove"].ToString() == "ApproveOrder")
               { %>
               <font style="color: #000000;">
                    <b>5. Confirm your order</b>
                </font>
            <% }
               else
               { %>
                5. Confirm your order
            <% } %>
            
            <br />
        </div>
    <% } %>
    <div id="div9" style="clear: both;">
        <a href="javascript:bookmarksite('Vietnammm.com | Order food online | Ho Chi Minh - Hanoi - Vietnam | Delivery restaurants | Takeaway online', 'http://www.vietnammm.com')">add to favorites</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    </div>
    <br />
    <img src="http://www.vietnammm.com/sponsors/1.jpg" alt="Tango Juice" height="40" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;
    <img src="http://www.vietnammm.com/sponsors/2.jpg" alt="Mumtaz"  height="40" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;
    <img src="http://www.vietnammm.com/sponsors/3.jpg" alt="Juice" height="40" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;
    <img src="http://www.vietnammm.com/sponsors/4.jpg" alt="Khazaana" height="40" border="0" />&nbsp;&nbsp;&nbsp;&nbsp;
    <img src="http://www.vietnammm.com/sponsors/5.jpg" alt="Boat House" height="40" border="0" />
    <br /><br /><br />
    <div id="div10">
        <br />
        <div id="div11">
            <b>New Restaurants</b><br /><br />
            <% var lstNewRestaurant = Model.AllRestaurantModel.GetModel.LstObjModel.Take(10); %>
            <% foreach (var restaurant in lstNewRestaurant)
                { %>
                <a href="<%= Url.Action("Order", "Home", new { idrestaurant = restaurant.ID }) %>" id="ftlinks">
                    <%= restaurant.Name %>
                </a> - 
                <% var district = Model.AllDistrictModel.GetModel.LstObjModel.FirstOrDefault(n => n.ID == restaurant.IDDistrict); %>
                <%= district.Name %>  
                <br>
            <% } %>  
        </div>
        <div id="div12">
            <b>Vietnammm</b><br /><br />
            <a id="ftlinks" href="<%= Url.Action("Index", "Home") %>" title="Homepage">Homepage</a><br>
            <a id="ftlinks" href="<%= Url.Action("Contact", "Home") %>" title="Contact">Contact</a><br>
            <a id="ftlinks" href="javascript:popup()">Tell A Friend</a><br>
        </div>
        <div id="div13"><b>Cuisines</b><br /><br />
            <% var lstFoodType = Model.FoodTypeModel.GetModel.LstObjModel.Take(10); %>
            <% foreach (var foodtype in lstFoodType)
               { %>
                <a href="<%= Url.Action("Cuisines", "Home", new { idFoodType = foodtype.ID }) %>" id="ftlinks"><%= foodtype.Name %></a><br />
            <% } %>  
        </div>
    </div>
  <div style="clear: both;">&nbsp;</div>
  <br><br>
 <div id="copyterm"> &copy <%= WebConfiguration.SiteName %> 2011 - 2012</div></center><br />

<br />